package com.youyou.login.feign;

import com.youyou.login.feign.fallback.LoginFeignFallbackFactory;
import com.youyou.login.feign.fallback.LoginFeignService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@Service
@FeignClient(value = "login-server" , fallbackFactory = LoginFeignFallbackFactory.class)
public interface LoginFeign {

    @RequestMapping("/login/login")
    public String loginTest();
}